<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/12/20
 * Time: 22:02
 */

namespace Xcx\Model;

use Think\Model;

class BaseModel extends Model {

    public $uid;

    public function __construct()
    {
        parent::__construct();

        $this->uid = $_SESSION['userInfo']['uid'];
    }
}